package com.hckjsec.law.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公共法律服务评价对象 web_law_evaluate
 * 
 * @author cyt
 * @date 2021-11-24
 */
public class WebLawEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private Long companyId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long configId;

    /** openid */
    @Excel(name = "openid")
    private String openid;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date evaluateTime;

    /** 评价意见 */
    @Excel(name = "评价意见")
    private String content;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 评价 满意:0   基本满意:1 不满意:2 */
    @Excel(name = "评价 满意:0   基本满意:1 不满意:2")
    private Long totalEvaluate;

    private String  appid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setEvaluateTime(Date evaluateTime) 
    {
        this.evaluateTime = evaluateTime;
    }

    public Date getEvaluateTime() 
    {
        return evaluateTime;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setTotalEvaluate(Long totalEvaluate) 
    {
        this.totalEvaluate = totalEvaluate;
    }

    public Long getTotalEvaluate() 
    {
        return totalEvaluate;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("configId", getConfigId())
            .append("openid", getOpenid())
            .append("evaluateTime", getEvaluateTime())
            .append("content", getContent())
            .append("name", getName())
            .append("phone", getPhone())
            .append("totalEvaluate", getTotalEvaluate())
            .toString();
    }
}
